package com.example.sugar.service;

import com.example.sugar.mapper.ViewStateMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class ViewStateServiceImpl implements ViewStateService{
    @Autowired
    ViewStateMapper viewStateMapper;
    @Override
    public List<Integer> selectAnswer(Integer date) {
        return viewStateMapper.selectAnswer(date);
    }

    @Override
    public List<Integer> selectAnswer1(Integer date) {
        return viewStateMapper.selectAnswer1(date);
    }

    @Override
    public List<Integer> selectAnswer2(Integer date) {
        return viewStateMapper.selectAnswer2(date);
    }
}
